import { defineStore } from "pinia"
import { Names } from "./store-name"

export const useTestStore = defineStore(Names.TEST, {
  state: () => {
    return {
      name: "张三",
      age: 18,
      sex: "男",
    };
  }, 
  //computed 修饰一些值
  getters: {

  },
  //methods 同步 异步 都可以做 提交state
  actions: {
  }
});
